.PHONY:all
all:myproc mycmd 

myproc:test.c
	gcc -o $@ $^

mycmd:mycmd.c
	gcc -o $@ $^
.PHONY:clean
clean:
	rm -f myproc mycmd
